ARM:AM33XX: Added timer support
authorChandan Nath <[email protected]>
Fri, 14 Oct 2011 02:58:25 +0000 (02:58 +0000)
committerAlbert ARIBAUD <[email protected]>
Thu, 27 Oct 2011 19:56:36 +0000 (21:56 +0200)
This patch adds timer support for AM33xx platform.

Signed-off-by: Chandan Nath <[email protected]>
Signed-off-by: Sandeep Paulraj <[email protected]>
Makefile
arch/arm/cpu/armv7/omap-common/Makefile

index 684cdb6aafd7770c4f1877dc27bcf8ed1e96184d..9ef33f9fd1368ff4aa3881a281b0cfd2a24762bb 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -289,6 +289,9 @@ LIBS += lib/libfdt/libfdt.o
 LIBS += api/libapi.o
 LIBS += post/libpost.o
 
+ifeq ($(SOC),am33xx)
+LIBS += $(CPUDIR)/omap-common/libomap-common.o
+endif
 ifeq ($(SOC),omap3)
 LIBS += $(CPUDIR)/omap-common/libomap-common.o
 endif
index 0b96b4789f085fa4a633b49c51ffb6246b179a98..1dee81f22ae02ef315420900bc96aa126a72205a 100644 (file)
@@ -29,7 +29,9 @@ SOBJS := reset.o
 
 COBJS  := timer.o
 COBJS  += utils.o
+ifdef CONFIG_OMAP
 COBJS  += gpio.o
+endif
 
 ifdef CONFIG_SPL_BUILD
 COBJS  += spl.o